home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2001 November / november_2001.iso / Browsers / Netscape 6.1 / browser.xpi / bin / chrome / modern.jar / skin / modern / global / toolbar.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2001-06-29  |  4.7 KB  |  168 lines

  1. /*
  2.  * The contents of this file are subject to the Netscape Public
  3.  * License Version 1.1 (the "License"); you may not use this file
  4.  * except in compliance with the License. You may obtain a copy of
  5.  * the License at http://www.mozilla.org/NPL/
  6.  *
  7.  * Software distributed under the License is distributed on an "AS
  8.  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  9.  * implied. See the License for the specific language governing
  10.  * rights and limitations under the License.
  11.  *
  12.  * The Original Code is Mozilla Communicator client code, released
  13.  * March 31, 1998.
  14.  *
  15.  * The Initial Developer of the Original Code is Netscape
  16.  * Communications Corporation. Portions created by Netscape are
  17.  * Copyright (C) 1998-2001 Netscape Communications Corporation. All
  18.  * Rights Reserved.
  19.  *
  20.  * Contributor(s):
  21.  *   Joe Hewitt (hewitt@netscape.com)
  22.  */
  23.  
  24. /* ===== toolbar.css ====================================================
  25.   == Styles used by XUL toolbar-related elements.
  26.   ======================================================================= */
  27.  
  28. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  29.  
  30. /* ::::: toolbox ::::: */
  31.  
  32. toolbox {
  33.   border-bottom: 1px solid #3B414F;
  34. }
  35.  
  36. /* ::::: toolbar ::::: */
  37.  
  38. toolbar {
  39.   min-width: 1px; /* DON'T DELETE!
  40.     Removes disappearance of scrollbars in content pane when window
  41.     is made smaller. Talk to evaughan@netscape.com for details. */
  42.   background: url("chrome://global/skin/toolbar/tb-mid.gif") #C7D0D9 repeat-x top;
  43.   color: #000000;
  44. }
  45.  
  46. toolbar > .toolbar-holder {
  47.   border-top: 1px solid #CED6DD;
  48.   border-right: 1px solid #86929E;
  49.   border-bottom: 1px solid #86929E;
  50.   border-left: 1px solid #CFD7DE;
  51. }
  52.  
  53. /* ::::: menubar ::::: */
  54.  
  55. menubar {
  56.   cursor: default;
  57.   min-width: 1px; /* DON'T DELETE!
  58.     Removes disappearance of scrollbars in content pane when window
  59.     is made smaller. Talk to evaughan@netscape.com for details. */
  60.   background-color: #DDE3EB;
  61.   color: #000000;
  62. }
  63.   
  64. menubar > .toolbar-holder {
  65.   border-top: 1px solid #EBF4FF;
  66.   border-right: 1px solid #B9BFC7;
  67.   border-bottom: 1px solid #B9BFC7;
  68.   border-left: 1px solid #EEF4FC;
  69. }  
  70.  
  71. /* ::::: toolbargrippy ::::: */
  72.  
  73. toolbargrippy {
  74.   width: 12px;
  75.   background-image: url("chrome://global/skin/toolbar/tbgrip-mid.gif");
  76. }
  77.  
  78. .toolbargrippy-top {
  79.   height: 1px;
  80.   background-image: url("chrome://global/skin/toolbar/tbgrip-top.gif");
  81. }
  82.  
  83. .toolbargrippy-btm {
  84.   height: 9px;
  85.   background-image: url("chrome://global/skin/toolbar/tbgrip-btm.gif");
  86. }
  87.   
  88. toolbargrippy:hover:active {
  89.   background-image: url("chrome://global/skin/toolbar/tbgrip-mid-act.gif");
  90. }
  91.  
  92. toolbargrippy:hover:active > .toolbargrippy-top {
  93.   background-image: url("chrome://global/skin/toolbar/tbgrip-top-act.gif");
  94. }
  95.  
  96. toolbargrippy:hover:active > .toolbargrippy-btm {
  97.   background-image: url("chrome://global/skin/toolbar/tbgrip-btm-act.gif");
  98. }
  99.  
  100. /* ::::: menubar grippy ::::: */
  101.  
  102. menubar > toolbargrippy { 
  103.   background-image: url("chrome://global/skin/menu/mbgrip-mid.gif");
  104.  
  105. menubar > toolbargrippy > .toolbargrippy-top {
  106.   height: 2px;
  107.   background-image: url("chrome://global/skin/menu/mbgrip-top.gif");
  108. }
  109.  
  110. menubar > toolbargrippy > .toolbargrippy-btm {
  111.   height: 9px;
  112.   background-image: url("chrome://global/skin/menu/mbgrip-btm.gif");
  113. }
  114.   
  115. menubar > toolbargrippy:hover:active {
  116.   background-image: url("chrome://global/skin/menu/mbgrip-mid-act.gif");
  117. }
  118.  
  119. menubar > toolbargrippy:hover:active > .toolbargrippy-top {
  120.   background-image: url("chrome://global/skin/menu/mbgrip-top-act.gif");
  121. }
  122.  
  123. menubar > toolbargrippy:hover:active > .toolbargrippy-btm {
  124.   background-image: url("chrome://global/skin/menu/mbgrip-btm-act.gif");
  125. }
  126.  
  127. /* ::::: collapsed tray and grippies ::::: */
  128.   
  129. .collapsed-tray-holder {
  130.   background-color: #C7D0D9;
  131.   height: 11px;
  132. }
  133.  
  134. toolbargrippy[tbgrippy-collapsed="true"] {
  135.   background-image: none;
  136.   width: 200px;
  137. }
  138.  
  139. toolbargrippy[tbgrippy-collapsed="true"] > .toolbargrippy-collapsed-left {
  140.   background-image: url("chrome://global/skin/toolbar/tbgrip-clps.gif");
  141.   width: 12px;
  142. }
  143.  
  144. toolbargrippy[tbgrippy-collapsed="true"] > .toolbargrippy-collapsed-right {
  145.   background-color: #B5C0CC;
  146.   border: 1px outset #B5C0CC;
  147. }
  148.  
  149. toolbargrippy[tbgrippy-collapsed="true"]:hover:active > .toolbargrippy-collapsed-left {
  150.   background-image: url("chrome://global/skin/toolbar/tbgrip-clps-act.gif");
  151. }
  152.  
  153. toolbargrippy[tbgrippy-collapsed="true"]:hover:active > .toolbargrippy-collapsed-right {
  154.   border-style: inset;
  155. }
  156.  
  157. /* ::::: toolbarseparator ::::: */
  158.  
  159. toolbarseparator { 
  160.   margin: 0px 0.2em;
  161.   border-right: 1px solid #E2E7EB;
  162.   border-left: 1px solid #95A0AD;
  163.   width: 0px;
  164. }
  165.  
  166.  
  167.